#include "ValueTile.h"

namespace BncImb {
namespace Domain {
ValueTile::ValueTile(double val) :
  Tile(), mValue(val) {
  if (mValue < 0.0) {
    mLabel = "Receita Federal";
  }
  else {
    mLabel = "Premio";
  }
}

double ValueTile::value() const {
  return mValue;
}
}
}